#### Historical builds for releases before r2.7
manual_nightly_builds = [
]

manual_versioned_builds = [
    {
    git_tag         = "v2.9.0"
    package_version = "2.9.0"
    pytorch_git_rev = "v2.9.1"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.9.0"
    package_version = "2.9.0"
    pytorch_git_rev = "v2.9.1"
    accelerator     = "tpu"
    python_version  = "3.11"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.9.0"
    package_version = "2.9.0"
    pytorch_git_rev = "v2.9.1"
    accelerator     = "tpu"
    python_version  = "3.12"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.9.0"
    package_version = "2.9.0"
    pytorch_git_rev = "v2.9.1"
    accelerator     = "tpu"
    python_version  = "3.13"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.8.1"
    package_version = "2.8.1"
    pytorch_git_rev = "v2.8.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.8.1"
    package_version = "2.8.1"
    pytorch_git_rev = "v2.8.0"
    accelerator     = "tpu"
    python_version  = "3.11"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.8.1"
    package_version = "2.8.1"
    pytorch_git_rev = "v2.8.0"
    accelerator     = "tpu"
    python_version  = "3.12"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.8.1"
    package_version = "2.8.1"
    pytorch_git_rev = "v2.8.0"
    accelerator     = "tpu"
    python_version  = "3.13"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.8.0"
    package_version = "2.8.0"
    pytorch_git_rev = "v2.8.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.8.0"
    package_version = "2.8.0"
    pytorch_git_rev = "v2.8.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "1"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.8.0"
    package_version = "2.8.0"
    pytorch_git_rev = "v2.8.0"
    accelerator     = "tpu"
    python_version  = "3.11"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.8.0"
    package_version = "2.8.0"
    pytorch_git_rev = "v2.8.0"
    accelerator     = "tpu"
    python_version  = "3.12"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.8.0"
    package_version = "2.8.0"
    pytorch_git_rev = "v2.8.0"
    accelerator     = "tpu"
    python_version  = "3.13"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.7.0"
    package_version = "2.7.0"
    pytorch_git_rev = "v2.7.0"
    accelerator     = "tpu"
    python_version  = "3.9"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.7.0"
    package_version = "2.7.0"
    pytorch_git_rev = "v2.7.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.7.0"
    package_version = "2.7.0"
    pytorch_git_rev = "v2.7.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "1"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.7.0"
    package_version = "2.7.0"
    pytorch_git_rev = "v2.7.0"
    accelerator     = "tpu"
    python_version  = "3.11"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.7.0"
    package_version = "2.7.0"
    pytorch_git_rev = "v2.7.0"
    accelerator     = "cuda"
    cuda_version    = "12.6"
    python_version  = "3.9"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.7.0"
    package_version = "2.7.0"
    pytorch_git_rev = "v2.7.0"
    accelerator     = "cuda"
    cuda_version    = "12.6"
    python_version  = "3.10"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.7.0"
    package_version = "2.7.0"
    pytorch_git_rev = "v2.7.0"
    accelerator     = "cuda"
    cuda_version    = "12.6"
    python_version  = "3.11"
    cxx11_abi       = "1"
  },



  # Remove libtpu from PyPI builds, pre-C++11 ABI builds
  {
    git_tag         = "v2.6.1"
    package_version = "2.6.1"
    pytorch_git_rev = "v2.6.0"
    accelerator     = "tpu"
    python_version  = "3.9"
    bundle_libtpu   = "0"
    cxx11_abi       = "0"
  },
  {
    git_tag         = "v2.6.1"
    package_version = "2.6.1"
    pytorch_git_rev = "v2.6.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "0"
    cxx11_abi       = "0"
  },
  {
    git_tag         = "v2.6.1"
    package_version = "2.6.1"
    pytorch_git_rev = "v2.6.0"
    accelerator     = "tpu"
    python_version  = "3.11"
    bundle_libtpu   = "0"
    cxx11_abi       = "0"
  },
  # Remove libtpu from PyPI builds, C++11 ABI builds
  {
    git_tag         = "v2.6.1"
    package_version = "2.6.1"
    pytorch_git_rev = "v2.6.0"
    accelerator     = "tpu"
    python_version  = "3.9"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.6.1"
    package_version = "2.6.1"
    pytorch_git_rev = "v2.6.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.6.1"
    package_version = "2.6.1"
    pytorch_git_rev = "v2.6.0"
    accelerator     = "tpu"
    python_version  = "3.11"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  # Bundle libtpu for Kaggle
  {
    git_tag         = "v2.6.1"
    package_version = "2.6.1+libtpu"
    pytorch_git_rev = "v2.6.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "1"
  },

  {
    git_tag         = "v2.6.0"
    package_version = "2.6.0"
    pytorch_git_rev = "v2.6.0"
    accelerator     = "tpu"
    python_version  = "3.9"
    bundle_libtpu   = "0"
    cxx11_abi       = "0"
  },
  {
    git_tag         = "v2.6.0"
    package_version = "2.6.0"
    pytorch_git_rev = "v2.6.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "0"
    cxx11_abi       = "0"
  },
  {
    git_tag         = "v2.6.0"
    package_version = "2.6.0"
    pytorch_git_rev = "v2.6.0"
    accelerator     = "tpu"
    python_version  = "3.11"
    bundle_libtpu   = "0"
    cxx11_abi       = "0"
  },
  # Remove libtpu from PyPI builds, C++11 ABI builds
  {
    git_tag         = "v2.6.0"
    package_version = "2.6.0"
    pytorch_git_rev = "v2.6.0"
    accelerator     = "tpu"
    python_version  = "3.9"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.6.0"
    package_version = "2.6.0"
    pytorch_git_rev = "v2.6.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  {
    git_tag         = "v2.6.0"
    package_version = "2.6.0"
    pytorch_git_rev = "v2.6.0"
    accelerator     = "tpu"
    python_version  = "3.11"
    bundle_libtpu   = "0"
    cxx11_abi       = "1"
  },
  # Bundle libtpu for Kaggle
  {
    git_tag         = "v2.6.0"
    package_version = "2.6.0+libtpu"
    pytorch_git_rev = "v2.6.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "1"
  },
  # Remove libtpu from PyPI builds
  {
    git_tag         = "v2.5.1"
    package_version = "2.5.1"
    pytorch_git_rev = "v2.5.1"
    accelerator     = "tpu"
    python_version  = "3.9"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.5.1"
    package_version = "2.5.1"
    pytorch_git_rev = "v2.5.1"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.5.1"
    package_version = "2.5.1"
    pytorch_git_rev = "v2.5.1"
    accelerator     = "tpu"
    python_version  = "3.11"
    bundle_libtpu   = "0"
  },
  # Bundle libtpu for Kaggle
  {
    git_tag         = "v2.5.1"
    package_version = "2.5.1+libtpu"
    pytorch_git_rev = "v2.5.1"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "1"
  },
  {
    git_tag         = "v2.5.1"
    package_version = "2.5.1"
    pytorch_git_rev = "v2.5.1"
    accelerator     = "cuda"
    cuda_version    = "12.1"
    python_version  = "3.9"
  },
  {
    git_tag         = "v2.5.1"
    pytorch_git_rev = "v2.5.1"
    package_version = "2.5.1"
    accelerator     = "cuda"
    cuda_version    = "12.1"
    python_version  = "3.10"
  },
  {
    git_tag         = "v2.5.1"
    package_version = "2.5.1"
    pytorch_git_rev = "v2.5.1"
    accelerator     = "cuda"
    cuda_version    = "12.1"
    python_version  = "3.11"
  },
  {
    git_tag         = "v2.5.1"
    package_version = "2.5.1"
    pytorch_git_rev = "v2.5.1"
    accelerator     = "cuda"
    cuda_version    = "12.4"
    python_version  = "3.9"
  },
  {
    git_tag         = "v2.5.1"
    package_version = "2.5.1"
    pytorch_git_rev = "v2.5.1"
    accelerator     = "cuda"
    cuda_version    = "12.4"
    python_version  = "3.10"
  },
  {
    git_tag         = "v2.5.1"
    package_version = "2.5.1"
    pytorch_git_rev = "v2.5.1"
    accelerator     = "cuda"
    cuda_version    = "12.4"
    python_version  = "3.11"
  },
  # Remove libtpu from PyPI builds
  {
    git_tag         = "v2.5.0"
    package_version = "2.5.0"
    pytorch_git_rev = "v2.5.0"
    accelerator     = "tpu"
    python_version  = "3.9"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.5.0"
    package_version = "2.5.0"
    pytorch_git_rev = "v2.5.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.5.0"
    package_version = "2.5.0"
    pytorch_git_rev = "v2.5.0"
    accelerator     = "tpu"
    python_version  = "3.11"
    bundle_libtpu   = "0"
  },
  # Bundle libtpu for Kaggle
  {
    git_tag         = "v2.5.0"
    package_version = "2.5.0+libtpu"
    pytorch_git_rev = "v2.5.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "1"
  },
  {
    git_tag         = "v2.5.0"
    package_version = "2.5.0"
    pytorch_git_rev = "v2.5.0"
    accelerator     = "cuda"
    cuda_version    = "12.1"
    python_version  = "3.9"
  },
  {
    git_tag         = "v2.5.0"
    pytorch_git_rev = "v2.5.0"
    package_version = "2.5.0"
    accelerator     = "cuda"
    cuda_version    = "12.1"
    python_version  = "3.10"
  },
  {
    git_tag         = "v2.5.0"
    package_version = "2.5.0"
    pytorch_git_rev = "v2.5.0"
    accelerator     = "cuda"
    cuda_version    = "12.1"
    python_version  = "3.11"
  },
  {
    git_tag         = "v2.5.0"
    package_version = "2.5.0"
    pytorch_git_rev = "v2.5.0"
    accelerator     = "cuda"
    cuda_version    = "12.4"
    python_version  = "3.9"
  },
  {
    git_tag         = "v2.5.0"
    package_version = "2.5.0"
    pytorch_git_rev = "v2.5.0"
    accelerator     = "cuda"
    cuda_version    = "12.4"
    python_version  = "3.10"
  },
  {
    git_tag         = "v2.5.0"
    package_version = "2.5.0"
    pytorch_git_rev = "v2.5.0"
    accelerator     = "cuda"
    cuda_version    = "12.4"
    python_version  = "3.11"
  },
  # Remove libtpu from PyPI builds
  {
    git_tag         = "v2.4.0"
    package_version = "2.4.0"
    pytorch_git_rev = "v2.4.0"
    accelerator     = "tpu"
    python_version  = "3.9"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.4.0"
    package_version = "2.4.0"
    pytorch_git_rev = "v2.4.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.4.0"
    package_version = "2.4.0"
    pytorch_git_rev = "v2.4.0"
    accelerator     = "tpu"
    python_version  = "3.11"
    bundle_libtpu   = "0"
  },
  # Bundle libtpu for Kaggle
  {
    git_tag         = "v2.4.0"
    package_version = "2.4.0+libtpu"
    pytorch_git_rev = "v2.4.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "1"
  },
  {
    git_tag         = "v2.4.0"
    package_version = "2.4.0"
    pytorch_git_rev = "v2.4.0"
    accelerator     = "cuda"
    cuda_version    = "12.1"
    python_version  = "3.9"
  },
  {
    git_tag         = "v2.4.0"
    pytorch_git_rev = "v2.4.0"
    package_version = "2.4.0"
    accelerator     = "cuda"
    cuda_version    = "12.1"
    python_version  = "3.10"
  },
  {
    git_tag         = "v2.4.0"
    package_version = "2.4.0"
    pytorch_git_rev = "v2.4.0"
    accelerator     = "cuda"
    cuda_version    = "12.1"
    python_version  = "3.11"
  },
  {
    git_tag         = "v2.4.0"
    package_version = "2.4.0"
    pytorch_git_rev = "v2.4.0"
    accelerator     = "cuda"
    cuda_version    = "12.4"
    python_version  = "3.9"
  },
  {
    git_tag         = "v2.4.0"
    package_version = "2.4.0"
    pytorch_git_rev = "v2.4.0"
    accelerator     = "cuda"
    cuda_version    = "12.4"
    python_version  = "3.10"
  },
  {
    git_tag         = "v2.4.0"
    package_version = "2.4.0"
    pytorch_git_rev = "v2.4.0"
    accelerator     = "cuda"
    cuda_version    = "12.4"
    python_version  = "3.11"
  },
  # Remove libtpu from PyPI builds
  {
    git_tag         = "v2.3.0"
    package_version = "2.3.0"
    pytorch_git_rev = "v2.3.0"
    accelerator     = "tpu"
    python_version = "3.8"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.3.0"
    package_version = "2.3.0"
    pytorch_git_rev = "v2.3.0"
    accelerator     = "tpu"
    python_version  = "3.9"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.3.0"
    package_version = "2.3.0"
    pytorch_git_rev = "v2.3.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.3.0"
    package_version = "2.3.0"
    pytorch_git_rev = "v2.3.0"
    accelerator     = "tpu"
    python_version  = "3.11"
    bundle_libtpu   = "0"
  },
  # Bundle libtpu for Kaggle
  {
    git_tag         = "v2.3.0"
    package_version = "2.3.0+libtpu"
    pytorch_git_rev = "v2.3.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "1"
  },
  {
    git_tag         = "v2.3.0"
    pytorch_git_rev = "v2.3.0"
    package_version = "2.3.0"
    accelerator     = "cuda"
    cuda_version    = "12.1"
    python_version = "3.8"
  },
  {
    git_tag         = "v2.3.0"
    pytorch_git_rev = "v2.3.0"
    package_version = "2.3.0"
    accelerator     = "cuda"
    cuda_version    = "12.1"
    python_version  = "3.10"
  },
  {
    git_tag         = "v2.3.0"
    pytorch_git_rev = "v2.3.0"
    package_version = "2.3.0"
    accelerator     = "cuda"
    cuda_version    = "12.1"
    python_version  = "3.11"
  },
  # Remove libtpu from PyPI builds
  {
    git_tag         = "v2.2.0"
    package_version = "2.2.0"
    pytorch_git_rev = "v2.2.0"
    accelerator     = "tpu"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.2.0"
    package_version = "2.2.0"
    pytorch_git_rev = "v2.2.0"
    accelerator     = "tpu"
    python_version  = "3.9"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.2.0"
    package_version = "2.2.0"
    pytorch_git_rev = "v2.2.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.2.0"
    package_version = "2.2.0"
    pytorch_git_rev = "v2.2.0"
    accelerator     = "tpu"
    python_version  = "3.11"
    bundle_libtpu   = "0"
  },
  # Bundle libtpu for Kaggle
  {
    git_tag         = "v2.2.0"
    package_version = "2.2.0+libtpu"
    pytorch_git_rev = "v2.2.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "1"
  },
  {
    git_tag         = "v2.2.0"
    package_version = "2.2.0"
    accelerator     = "cuda"
    cuda_version    = "12.1"
  },
  {
    git_tag         = "v2.2.0"
    package_version = "2.2.0"
    accelerator     = "cuda"
    cuda_version    = "12.1"
    python_version  = "3.10"
  },
  {
    git_tag         = "v2.1.0"
    pytorch_git_rev = "v2.1.0"
    package_version = "2.1.0"
    accelerator     = "tpu"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.1.0"
    pytorch_git_rev = "v2.1.0"
    package_version = "2.1.0"
    accelerator     = "tpu"
    python_version  = "3.9"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.1.0"
    pytorch_git_rev = "v2.1.0"
    package_version = "2.1.0"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "0"
  },
  {
    git_tag         = "v2.1.0"
    pytorch_git_rev = "v2.1.0"
    package_version = "2.1.0"
    accelerator     = "tpu"
    python_version  = "3.11"
    bundle_libtpu   = "0"
  },
  # Bundle libtpu for Kaggle
  {
    git_tag         = "v2.1.0"
    pytorch_git_rev = "v2.1.0"
    package_version = "2.1.0+libtpu"
    accelerator     = "tpu"
    python_version  = "3.10"
    bundle_libtpu   = "1"
  },
  {
    git_tag         = "v2.1.0"
    pytorch_git_rev = "v2.1.0"
    package_version = "2.1.0"
    accelerator     = "cuda"
    cuda_version    = "12.0"
  },
  {
    git_tag         = "v2.1.0"
    pytorch_git_rev = "v2.1.0"
    package_version = "2.1.0"
    accelerator     = "cuda"
    cuda_version    = "11.8"
  },
  {
    git_tag         = "v2.1.0"
    pytorch_git_rev = "v2.1.0"
    package_version = "2.1.0"
    accelerator     = "cuda"
    cuda_version    = "12.1"
  },
  {
    git_tag         = "v2.1.0"
    pytorch_git_rev = "v2.1.0"
    package_version = "2.1.0"
    accelerator     = "cuda"
    cuda_version    = "11.8"
    python_version  = "3.10"
  },
  {
    git_tag         = "v2.1.0"
    pytorch_git_rev = "v2.1.0"
    package_version = "2.1.0"
    accelerator     = "cuda"
    cuda_version    = "12.1"
    python_version  = "3.10"
  },
  {
    git_tag         = "v2.0.0"
    package_version = "2.0"
    accelerator     = "cuda"
    cuda_version    = "11.8"
  },
  {
    git_tag         = "v2.0.0"
    package_version = "2.0"
    accelerator     = "cuda"
    cuda_version    = "11.8"
    python_version  = "3.10"
  },
  {
    git_tag         = "v2.0.0"
    package_version = "2.0"
    accelerator     = "cuda"
    cuda_version    = "11.7"
  },
    {
    git_tag         = "v2.0.0"
    package_version = "2.0"
    accelerator     = "tpu"
  },
  {
    git_tag         = "v1.13.0"
    package_version = "1.13"
    accelerator     = "tpu"
  },
  {
    git_tag         = "v1.13.0"
    package_version = "1.13"
    accelerator     = "cuda"
    cuda_version    = "11.2"
  },
  {
    git_tag         = "v1.13.0"
    package_version = "1.13"
    accelerator     = "cuda"
    cuda_version    = "11.2"
    python_version  = "3.7"
  },
  {
    git_tag         = "v1.12.0"
    package_version = "1.12"
    accelerator     = "cuda"
    cuda_version    = "11.2"
    python_version  = "3.7"
  },
]
